refactor pjax_fallback with jasmine & express