JS Hint corrections