updated map for js