Updated jshint config and fixed warnings