adding old js as templates