Javascript typo fixed

There was a little typo in the `setTimeout` function name