JSHint fixes
Merge pull request #70 from joscha/patch-2

JSHint fixes