Removes leftover trailing semicolons
Tightens iframe key collision protection