Properly remember networking mode when switching between plugins

Both linuxbridge and vmware plugins force a mode, but when switching to
them and then away from them, it's nice to remember the old mode that
was set.
Use existing variable
Merge pull request #33 from vuntz/fix-js-again

Properly remember networking mode when switching between plugins