Fix JS error caused by removal of .load(HANDLER) in jQuery 3.0
Created originally on Bitbucket by Anonymous
Was already merged in Bitbucket before import, marked as merged by the import user
Update the code to use .on("load", HANDLER) to bind event handler instead.
The error manifested as jQuery trying to call .indexOf() on the event handler function. http://api.jquery.com/load-event/
Thanks for looking.