Merged embed & onload