Added javascript map, issues with location array