Defered container initialization to fix the amOnPage method