Added JS to get query string

Makes my life a lot easier.
Updated flashcard Listing

Also added ability to create a flashcard.