[core][fr][js] missing function, and useless code