fix base url for require js