Is there a better way to position the cursor at the end of the line? This has the same effect as `input._node.value += '';`