Added ajax request to match pages