try add onload event to svg