Logs JavaScript errors on the server