Why don't you use the jquery plugin I wrote in #627 ?