code: function remove(array, item) {
          console.log("attempting to remove "+item)
          var index = array.indexOf(item)
          if(index !== -1)
              array.splice(index, 1) // no longer throwing Error("Item doesn't exist to remove") if there's nothing to remove - in the case that mainTester.timeouts gets set back to [] (when done), it won't be there
  
      }
docs: removes an item from an array