Use strict mode. Add missing semicolons.