Make sure we don't remember non-switch status if only one device is connected. Also increase the timeout to get USB personalities seen on some devices.
function Proto () {
}
Proto.prototype = new Object()
function extra() {
anotherglobal = 3;
}
Proto.prototype.myfunc = function() {
var oo = inst;
myglobal = 2;
extra();
this.foo = 3;
globalString = "77" + globalString;
return globalString;
}