Update jsCaret.js

insert following functions:

caret.removeWord("word");
caret.removeRange(1,10);
var lastWord = caret.getLastWord();