[core][js] helpers as object