Replace old hangout method with AJAX way of getting url