add base url to javascript imports