Move initialChunks
store variable to window global variable
#1013
+27
−15
initialChunks
store variable to window global variable
#1013