numerous changes. start of the switch to coffeescript. svg size fix. examples tidied up