Fix trailing comma, add es3: true option to jshint