use jsBezier (wip)