Minor-2

Replace `setTimeout` by `window.setTimeout`