added support for jshint. and fixed all jshint errors
added build grunt task