ADD: JavaScript validation with JSLint