added try catch around jsonppolling iframe removal