Update request.js

Added ability to set params on request creation