createLink: Tidying up "commands/create_link_command.js".
createLink: Revise selection end handling when selection ends within anchor element.