Changed flashcard events to run before stack events
Removed index.html