added onLoad on camera.js

testing onLoad function for camera.js