It is specified in the js-image-slider.css file. Why not update it there?
If you have to do it through JavaScript due to a more complicated requirement, you can do it like below:
var sliderDivs = document.getElementById("slider").getElementsByTagName("div");
for(var i=0; i<sliderDivs.length; i++){
if(sliderDivs[i].className == "mc-caption-bg")
var captionBg = sliderDivs[i];
}
if(captionBg){
captionBg.style.marginLeft = "-200px";
captionBg.style.width = "300px";
}