Add debugging to capybara-js exceptions