remove code related to iframe handling (close #251)