Added grunt and JSHint, and fixed errors in JSHint