refactor test unit pjax.js with jasmine & express (21%)