Update jsCaret.js

insert new functions

removeWord

removeRange

getLastWord