In a fry pan, melt butter. Add chopped onions and cook over high heat until onions turn golden. Add maple syrup and leaves from sprig of thyme. Cook 2 minutes, stirring occasionally