Fix localization: use the script service because we are inside an HTML macro. The HTML macro could be removed if we convert this page to xwiki/2.1 syntax, but it's a bit dangerous before 5.0M2 release.