Adapting to JS Hint onevar