attach the body onload event

Signed-off-by: Patrick Konstandin <support@flatfiler.de>