Chores/javascript map1