changed event load from domready to onload