[REF] Support endpoint-based URL generation in UH
[MIN] Add JS helper func to build URLs

needed for clean URLs in the future since those do not put all arguments
in the query string but have some right within the URL path