Remove codes which are not needed

The removed code was thought to assist with the radio buttons but the
page works fine without it, rendering the piece of code useless in this
case.