Prevent `baseUrl` global variable creation.

Fixes [#17798](https://bugs.dojotoolkit.org/ticket/17798#ticket).