don’t use events !== undefined to signal page ready

it will always be defined