[core][js] echo function for debugging