Add strict mode and semicolons
Fix non-existing callback function
Merge pull request #22 from weiland/small-fixes

Small fixes