Issue #4608: Fixed a bug that cc.log can‘t print on the page.
Issue #4608: Remove the debugging code