more JSLint fixes