A JavaScript library to track client-side scripting errors