ReInitialize the web-project-templates-master example

Dear All,

How to reinitialize the web-project-templates-master example?

After interact with the example I want to reinitialize the example to initial state.

I want to run __init(self) and

@exportRpc("vtk.initialize")
def createVisualization(self):

I tried without success.

Problems in the “self” in the call.

Thanks,

Luís Gonçalves