fix(thewire): Restores functionality of JS max length limit parametrization

Is now async load friendly.

Fixes #6646