removed pageLoaded callback