removes obsolete README
modularize javascript

adds a couple of js files each encapssulating certain aspects of
the svg creation.

the svg file contains only configuration options
put all three modes in the example page
make javascript paths absolute
adds .gitignore