debugging support for web-test.js; workaround d3's superior modularization

allow not having a parent module for web-test (for debugging)
tag the generated javascript with special comment that enables debugging
workaround current d3's modularization, which broke 'this'  ;-)
https://github.com/mbostock/d3/commit/99ff885