HUE-1743 [core] Prevent frame busting and clickjacking

Added specific JS code