remove onload function to start eventListener