INTEG-295: Unified Search failed when Platform runs inside an IFrame

Problem analysis
- Cannot access javascript object of top window which gets portal name when eXo Platform is rendered inside an iframe

Fix description
- Correct the way to get portal name by local javascript object