Added jshint fixes for the javascript so that it conforms.