Fix localized.js usage