jQuery.ajax({ url: "http://xxxxx.myshopify.com/products.json";, success: function(response) { window.RESPONSE = response; } });