try adding another bit to the object here.

    api_cfg: api_cfg,
    container: Y.one('body')