Minor bugfixes in Slider and Cms-Javascript modules