add the pageIsActive field to the node