jQuery plugin to manipulate the caret position and selection range of input and textarea elements