In a food processor, process the jalapeño, onion, and garlic until finely ground. (You can finely dice them instead if you don't have. food processor.)
Add in one can of black beans, cilantro, lime juice and spices. Pulse until combined (there should still be chunks of black beans in the bean mixture--use a potato masher if you don't have a food processor)
Transfer the mixture to a medium bowl.
Add in the rest of the black beans, lightly beaten egg, bread crumbs, sriracha (if adding) and corn and stir until combined.
Form into burger sized patties. (Sometimes I freeze this for about 15 minutes or so to help them form better into burgers.)
To grill: Grill over medium heat on a well oiled grill for about 4-5 minutes on each side, until golden brown. You can add a slice of cheese in the last minute if desired. (You can use a cast iron skillet on the grill as well to keep them from breaking or falling through.)
Stove top: You can also cook these in a frying pan in oil over medium heat 4-5 minutes until browned on each side. Grill over medium heat for about 4 minutes on each side.