Find remote country name through rails and JS