In a medium-sized skillet over medium heat, melt butter until browned. Remove from heat and cool for a few minutes, then whisk in the brown sugar; beat until well combined. Add in the egg mixing until combined. Stir in the flour, baking powder, and salt, being sure not to over mix. Fold in the M&M's.