new version of jshint caught some new issues, fixing issues
Merge pull request #123 from diwu1989/jshint

new verison of jshint caught some new issues, fixing issues