Support xhr arguments for standalone wrapper