var banner = $("#homepage-banner");

var imageNames = ['bot', 'soccer', 'teamCrop', 'working'];
var imageIndex = Math.floor((Math.random() * imageNames.length));
var imageUrl = "assets/images/homepage-banners/" + imageNames[imageIndex] + ".JPG";

$( document ).ready(function(){
  banner.css('background-image', 'url(' + imageUrl + ')');
});

var banner = $("#homepage-banner");

var imageNames = ['bot', 'soccer', 'teamCrop', 'working'];
var imageIndex = Math.floor((Math.random() * imageNames.length));
var imageUrl = "assets/images/homepage-banners/" + imageNames[imageIndex] + ".jpg";


banner.css('background-image', 'url(' + imageUrl + ')');

Fix delayed load and capital image extension
Fix delayed load and capital image extension
