fix comment handling in iframe's js