update web demo to v2.0.0-beta7
fixes #236: enable the optimiser in the web demo