Added strict mode in core.js