updated flashcard.js functionality as well as structural cleanup
merge to FMD - Merge branch 'master' of https://github.com/tomhanks23/TeamTian