Fix onload event listener in html10n