Fixed jshint issues
Added grunt and jshint task
Fixed jshint issues in server code