ljosa/urlize.js — pull request #18 by dandv (2014-02-21 02:16:08+00:00)
Title: Test against TLD existence

Hat tip to https://github.com/cowboy/javascript-linkify/blob/master/ba-linkify.js#L76. Maybe incorporating that library would be a good idea, since the author seems to have abandoned it.