UI-2374: [PLF 4] apply js for popup messages