Fix style issues wrt to JSHint.