removing onload listener