Renamed js functions