some refactoring , rename www to static, add init version for viz.js
set 100% width for svg