Allow user to pass in onload event for error handling

In order to check the status of the iframes created it would be nice to have access to the iframe's onload event by passing in a function. 
Tests still pass and if you have any requests for changes just let me know!
when onLoadHandler is a function, we will bind it with the event by ```frame.addEventListener('load', onLoadHandler)```