Add a nicer way of invalidating timers and errors in JshintListener