Fix jmol interface

The jmol interface needs to be a side effect in order to be usable. In
addition, clear is a function that should be called when the brush is empty.
Use new brush jmol interface
Update lib
Update libs