Removed the use of setTimeout for filling divs.