This version is old school.
Please find jQuery plugins on npm.
CyrLatConverter - Cyrillic to Latin and Latin to Cyrillic
CyrLatConverter is jQuery plugin for transliteration complete web site (or just part of it if you like) from Latin to Cyrillic and vice versa. Built with Serbian language as reference.