switch to querySelector in camera.js