Only add data-tesseract-cursor if cursor exists
Fns to (un)serialize cursors
Wrap root handler binding in function