CMS-1480 TypeScript: Convert UriHelper to TypeScript