remove non-JSTS old code