Drop Bonsai.js, use Raphael.js.
Another rewrite & redesign. MVC approach attempted