Call $pagetCtx.data() only once.