Error handler is no longer dependent on external javascript