JS realizes city selection and returns three-character code