Update map template. Remove js function no longer required.