Making cc.registerTargetDelegate and cc.registerStandardDelegate compatible with Cocos2d-html5.