Loaded state information into JS arrays.