Rename JS functions.