Cleaned up country selector code

- Added support for different zoom levels on different countries
  to make sure we can provide a good country presentation.
- Refactored code and made sure it validated in JSHint

. #109