Added grunt, fixed jshint and formatting.