practive js function event

practive js function event