apply camera.js