Added jshint fixes for the javascript so that it conforms.
Merge pull request #16 from Jedwondle/master

Added jshint fixes for the javascript so that it conforms.