XWIKI-8748:  When an extension is installed on several wikis "Upgrade on farm" should upgrade the extension only on theses wikis
* Update the JavaScript code of the DW that handles the previous UI.
(cherry picked from commit f5a76b2cad641d605cfc21f43716a0c370bcb5f9)