Create Extended_template.js

Extended template