Map Data get for javascript