expose extension id to page