hinted code and removed unnecessary es5 option in jshintrc