Add JSLocalization class and documentation