Update territories.js