Adding a half-second delay before rendering page to allow js events to fire after page has loaded