copy over from gameJam
added mrdoobs Detector script