Fixing JSLint issues.