Added localization of JavaScript files.