Added jshint and used jsFormatter