This is a really neat idea and I hope you publish. :-)
thanks,
its on its way ... & improving.
i know the algorithm will work, but javascript isnt my first language so bugs abound