handle cases where the 'base-asset-url' is undefined, e.g. in Jasmine tests
handle cases where the 'base-asset-url' is undefined, e.g. in Jasmine tests

bmedx/modulestore,bmedx/modulestore,bmedx/modulestore