I would suggest not to leave the variable in the global scope. Please dispatch an event from icc.js for notifying it has been loaded.