cleanup a few JSLint warnings