Moving setTimeout back outside...