correcting mistakes like nextslide that was wrong and the true was nextSlide wich show js is case sensitive