Removing all images from image layer when refreshing page