WordPress Plugin to Log JS Errors in a Page

At my day job, we’re looking at a way to migrate a large number of sites from an outdated WordPress install to a current one. I believe that our biggest problem will be the differing versions of jQuery. To that end, I created this plugin, to log JavaScript errors to a page.

https://github.com/scofennell/sjf-log-js-errors

You would not want to run this in a production environment, since it does a database write for every JS error.