forgot to switch link for json in header's XMLHTTPRequest