Fixing JSHint warnings
Merge pull request #1 from jklein/master

Fixing JSHint warnings