#660 Moved jQuery insertCaretAt plugin to separate file