Included auto-expanding of detailsBox and extracted slider-js-call to myCommonJavaScript.js.