JSHint fixes
Merge pull request #12 from Jimdo/jshint-fixes

JSHint fixes