conflicting additional javascript removed from template.