Update .jshintrc to reflect the current code style.

Remove deprecated JSHint options.

Fix lint errors.