changes

added javascript to template