Added missing template and javascript