JS Hint cleanup