Added ajax loader for saving the route