Finish Map AJAX and some state retrieving