Use ac/set-cursor-position instead of explicit JS interop