Shorten setInterval call

The interval step callback and just be the single function which gets called inside current callback.
Merge pull request #8 from hlfcoding/patch-3

Shorten setInterval call