[core][js] update exports