Jquery check if url exists cross domain. This function is heavily overloa...