isCaretPositionNode function was not returned in previous commit
Merge pull request #10 from guardian/al-return-isCaretPositionNode

isCaretPositionNode function was not returned in previous commit