Correctly indent images array.
Remove the global images array.

Pass the images as a parameter to Slider.initialise.
Images are now part of the Slider namespace.
Clean up how the images are generated.