preparing for browser-request
different request client for nodejs and browser side