Use window.setTimeout instead of setTimeout
Merge pull request #27 from teddyzeenny/setTimeout

Use window.setTimeout instead of setTimeout