remove distinction between iframe and js