Have you tried this? Are you interested in taking the code back if I make the necessary modifications?
I'm looking at including it in an application where we will use the Closure compiler to minify and concatenate it with other code.
E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).