added check for webgl-support in browser