added detector that checks for webgl availability