core.js: requrejs and new jquery template