Added core.js with templates.