changing the name of the js function