delete onload function