closed #3858: Pure JS class which is inherited from cc.Class will trigger an irrelevant log.

Please refer to http://www.cocos2d-x.org/issues/3858.