HTML5 webapp for creating territories using Google Maps