Fixed JSHint errors
Merge pull request #125 from wmde/jshinterrors

Fixed JSHint errors