using body onload instead of meta