Added to newDoc to get corresponding element in iframe