A Javascript client and Scalatra server for collecting client-side errors and diagnostics