Update CObject.js

Started poking around and writing some comments while at work