request.js: proper call to the callback function when replaced.