fix: JSLint warnings