converting demo to webgl