Fixed JSLint failures.