Rename JS methods