I think we should rather move the initialization of the viz part into the html page and then you can just include queryvis.js.