Create template.js

we can use the template node replace the script ,so the script will never break our page render.