JS library: TXHRTransport calls its callback with an error message
in case of non-200 http status.
Fix by Nishes Joshi <nishes@zedge.net>
(cherry picked from commit 5942637)