cleaned up php/class.Page.php