fixed #2226: Clean up some unused codes in CCClass.js

Clean up some unused codes in CCClass.js