Added ajax call to save the marker