Browser glTF source

I am using Optimizely to test adding 3D objects to our site and want to use the GLTF Loader.
I have all my imports I just need help with the source to the gltf file. Locally I give the path or the name of the gltf file like below and it renders fine. How can I load a glTF without downloading the file but rather by giving it a source?

var gltf = “scene.gltf”;
loader.load(gltf, function(gltf){
obj = gltf.scene;

the gltf must be uploaded with the site, cors will not allow it to be loaded from different origin.