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