fix(base): add templates.js into repo