Fix issue with one slide and switch to minified JS