Updated js for possibility of no visible image to start. This enables a random image to be choosen on each page load but causes a flash of blank background