Moved ‘sprintf.js’ to ‘globalscripts’.
Exposed Localize::localize() to JavaScript.