Fix npm warning
Renamed timeout parameter to interval