rename some js function