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.