updated map.js to subscribe to study, added study methods to handle delineation