routes changes ajax requests