Added JS for slider auto loading