A Perl implementation of the algorithm exists in TeX::Hyphen.
which is nearly twice the byte-count and might stop search engines from indexing your site correctly.
It might be good to have a plugin to insert a reference to the hyphenation JS into the
<head>, or a general way to enable this sort of thing without writing a plugin or changing your
page.tmpl, though. Perhaps we should have a