removing ondeviceready from body onload