add a script to adjust the height of iframe synchronously