Solution to JavaScript Move Country Exercise