webui: Remove duplicated javascript bits

These changes will already be done through the call to
networking_mode.trigger('change');