Refactoed index for js load of banner image.