YUI minified minCCL.js generated some fixes had to be made in canvascontrollibrary.js to do this