Adding some configs for jshint linter and updating per suggestions