Review existing JS error logging solutions (esp. the FOSS ones) to make sure we did not miss anything important, to make sure we are not reinventing the wheel where a 3rd-party drop-in solution already exists (especially with T499), and to gather JS tricks for T512 and others.
FOSS:
- http://www.stacktracejs.com/
- https://github.com/occ/TraceKit
- http://jserrlog.appspot.com/
- https://github.com/getsentry/raven-js
- https://github.com/Lapple/ErrorBoard
There are many commercial ones available, but they all require neogicating custom plans due to our traffic. I think it would turn out to be quite expensive and traditionally we've always tried to switch from commercial solutions we were using to open-source things we host.