By deferring the loaded event, everything works for 0.8. Yey