Comment by Jorge1o1
Well, theoretically you could make your current "Add Link" button and your current "Remove" button just trigger a server-side request and then refresh the page.
maybe some combination of the <noscript> tag and then if so wrapping the buttons in <form> and making the buttons submit those forms?