$pageId variable is not defined.