Made changes to onload event broadcast to wait until after nested
fragments (incomplete)