remove old js structure