fixed error on index page with missing references for loading slider.