Facebook Style URL Extract with PHP and jQuery AJAX