add embed js, resize iframe dynamically