Add strict mode and semicolons
Fix non-existing callback