added zoom preferences to Camera.js