Update tmpl.js

made of stupid