Adding SEP JS file and updating links in templates.