Add support for country codes in URL
added support for country code in javascript