Added simple ajax check for URLs