Using WebDriver to automatically check for JavaScript errors on every page (2016 edition)