since it turned out XHR was betraying you, please add a comment about needing to do ".buffer" here