added javascript file & base_template.html