Add missing i18n URL patterns for JavaScript code.

Sorry, I forgot to add it at ce21d31.