add 'module' property in core.js