jQuery.ajax( {
    url: '//freegeoip.net/json/',
    type: 'GET',
    dataType: 'jsonp',
    success: function(location) {
		if (location.country_code === 'GB') {
			$("#currencies").val("GBP");
			$("#currencies").change();
        } else if (location.country_code === 'US') {
			$("#currencies").val("USD");
			$("#currencies").change();
        } else {
			$("#currencies").val("EUR");
			$("#currencies").change();
        }
    }
});