[core][js] variable renaming again