Change setTimeout with setInterval
Remove 'onload' call
Merge pull request #532 from Gabriel59/issues

Remove pointless recursive call