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!
onLoadEvent - let's rename it to onLoadHandler and it should be a function or undefined.