[Feature] update mainContainer on dom ready as well