Handle layout without indexedb