Started to add support for webgl