minor fix for TimedItem.prototype._getOnHandler