Added call to webcam(), commented out orientation logging, added window.onerror