When calling setInterval just pass reference to function
and not function()