Catch all ajax errors and reload, not just the ones that come from a bad
page load
Get rid of rails 4.0 deprecation warning