removed magic numbers from camera.js and updated README