Js loading from another server path fix