Unity webgl build -deploys fine but fails to serve.. deploy puts index as .js loader!

Any clues anyone ? seems my .js loader has been populated by my index.html when dfx deployed. and thus trips when it sees a <