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