ECMS-6155: [IE] Impossible to upload file in Content Explorer when Platf...

...orm runs inside an IFrame

Fix description:
- Correct scope of variables in iframe case.