Fix a bug in Firefox that when not specifying an interval the function doesn’t get executed.