Remove unnecessary onload event.