PagePoolAction: Fix typeof check
The result of typeof operator is always a string description of a JavaScript type, like "string", "function" or "undefined. It is never equal to undefined itself.
The result of typeof operator is always a string description of a JavaScript type, like "string", "function" or "undefined. It is never equal to undefined itself.