Add javascript tracker and give Blocmetrics the capability to receive and record events from the js tracker.

Update the test for the new error handler. Btw, this raises two flags to me as the peer reviewer: one is that you pushed your changes without your tests passing (since the new error handler should make this test break), and the other that you're out of the TDD loop again