http://stjhimy.com/posts/28-javascript-templates-using-eco