Fixing more javascript references only on deployment.