yhsiang: there's a new demo with js using the new algorithm