[core][js] revert modif on helpers