a simple javascript object to track time until something does (not) happen