Made the javascript slider file readable