-setup jshint, fixed some errors