Rename js functions.