jshint fix
After first time hitting the end of questions, don't try and load any more.
add indexes to foreign keys in answer table
Merge pull request #143 from askaway/feature/foreign_key_indexes

Add indexes to foreign keys in answer table
Merge pull request #142 from askaway/loading-stops-once-end-reached

Loading stops once end reached
Adds hidden dom element containing front-loaded json.