fix JSHint warnings
assignment was purposeful
Merge pull request #2 from kevinburke/jshint

fix JSHint warnings