fixed some JSLint warnings
Merge pull request #167 from jabadia/jabadia-jslint-fixes

fixed some JSLint warnings