few more JSLint error fixes