Ajax check for new pages