Changed first onload event to domready.