[plantain-js] Fixed model. Added mutable graphs.