Added listener to Error and changed the callback.

Callback is now `(error, event)` and it listens to the error event on the script tag. (#2)

Information on IE compatibility is annoying to dig through. I just changed the callback to be consistent.