removed unused template JS