Update tmpl.js

fixed small error