Fixed error (typo) in core.modules.js