template and js