remove duplicate onload statement