prepare for browser/webgl detection