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