Add map to js