updated to new JS API (3.12) and new basemaps (dark gray & terrain)

updated to new JS API (3.12) and new basemaps (dark gray & terrain)