minor changes to the 'page data loaded' event callback mechanism