Fix onInitialized overwriting

In commit a26269f083eb51c49626d587a645f55f771c826c page.onInitialized was mistakenly overwritten which made robot unusable.