Removed jqueryhelper.js. Replaced calls to $.escapeId with view.escapeIdForJquery. getCursorPosition wasn't being called.