Making cc.registerTargetDelegate and cc.registerStandardDelegate compatible with Cocos2d-html5.
Merge pull request #3712 from dumganhar/register-touch

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