OZP-296: Make sure all testacular tests produce code coverage

- set window.onerror to empty function to fix so that mocha doesn't
fail tests