web/javascript.js: Fix more JSHint warnings.