Add ajax requests in maps.js, but application not work. Should finished routes in index.js and DB saveing.