more JSLint fixes

sorry, not all files went in in the previous PR