Updated camera.js