Added the country selector JavaScript code; fixes #15