Use onload in preference to avoid a weird bug in IE10 iframe. fix #917
Rebuild packages