Ajax doesn't allow you to make requests to another domain. So if your site is on example.com, your javascript can't query an external URL like btc.blockr.io.
What??
Today, cross domain Ajax request is supported for major browsers.
You can use several resources for a request cross domain , for example: JSONP, OpenAjax Hub, easyXDM, etc, also proxified petitions can help, or simply type in google CORS, cross domain, etc etc.