Create Detector.js

detects if computer can use webgl