[#63,bugfix][xs]: updates to JS module structure that got missed in d6a45a40a030409edb0b997764773a5828bec901.