fix when PubMed ID could be a string instead of an integer. Add JSHint properties and fixed some of the warnings that jshint indicated in app.js.