Heat a nonstick pan on medium heat. Once hot, add the oil and the onions. Saute until they soften and slightly brown. Then add the garlic, jalapeno, and brown sugar. Saute until the garlic starts to turn golden brown.
Add the tomato and corn. Simmer until most of the liquid from the tomatoes has evaoprated. Season with salt to taste. Remove from the heat.
Stir in cilantro right before serving with chips on the side.