[core][js] gc_engine initialization