Promoted patternLang to era-misc.js from era-modules.js.