cleanup unused variable
wrong filename for template as used in js