This is a hack, but when we use Capybara and it tries to login to chat, it will claim an error on application.js when really it wouldn't happen because it would be loading something in the js from something on the page.