Create base_template.js