Changes the the ajax error handling to only fail the promise once the response body is received (readyState == DONE/4)
Address PR comment
Update dist files
Merge pull request #4 from Shopify/readystate_fail

CI is happy, merging.