remove onchange, write on js file