Fix JSHint errors

Running the JavaScript files included in this theme through [JSHint](http://jshint.com) generates some errors. There is a missing semicolon in `js/navigation.js`. The rest of the errors have to do with using `==` and `!=` instead of `===` and `!==` - it is better to use the latter as it prevents coercion.