The OC namespace is defined in core/js/js.js, you could put it there.