Changed backend links into radio input fields and added JS to handle them