Elster UStVA implementation in pure JavaScript