setting up jshint for builds and fixing reported JS Hint errors