fix hack that was causing a race condition when loading page in some cases; this was only a problem because of async loading of chunks
fix hack that was causing a race condition when loading page in some cases; this was only a problem because of async loading of chunks

sagemathinc/smc,sagemathinc/smc,sagemathinc/smc,sagemathinc/smc