Added templates js