modified request-spec.js