corrected syntax for getting existing map data
fixed syntax error for edit maps javascript