[core][js] gc engine: multi-token match