Added More JSHint restrictions

Enabled latedef and eqeqeq options for JSHint.