Tie map id env var into javascript.