JavaScript now passes JSLint