Fixed syntax for JSLint