Activate ES3 mode in jshint, remove trailing comma

- Activate ES3 mode in jshint, makes trailing commas an error
- Remove trailing comma, Fixes IE6+7 compatibility
- Avoid other linting errors reported when ES3 mode is active