Take params from the browser, not from server.
Add updategraph().