Wrap the JS notifier configuration in a try..catch, since the notifier JS might have failed to load
Set a noop window.onerror in the event Airbrake is not available
Merge pull request #201 from kennethkalmer/better-js

Wrap the JS notifier configuration in a try..catch block