Create Detector.js

three.js's detector. detects if the viewer can view webGL