removing js templates