Configure requirejs base url with asset host where necessary

@maxfliri
@robyoung