add jshint config
fix jshint errors