included template in js file