Update to latest version of THREE.js (not in npm). Earlier version had var self = self || {} which broke firefox
Switch setClearColorHex for Firefox compatibility
Firefox compatibility.