Use strict mode and fix violations