Fix for #7865. Scripts onload handler passes event as first parameter so statusText...