Properly gc'ing webpages