adds newsroom carousel slider boilerplate code to slider.js