more JSLint fixes
Merge pull request #168 from jabadia/jabadia-jslint-fixes2

more JSLint fixes