Fix bug in resize iframe example script