JSHint fixes
Merge pull request #69 from joscha/patch-1

JSHint fixes