Update CCdomNode.js

When user tries to execute removeChild on EditBox - EditBox calls setParent with p === null. After that engine calls p.setAnchorPoint that leads to crash.
Merge pull request #977 from asfdfdfd/patch-1

Update CCdomNode.js