javascript additions for slideshow on front page
adding slideshow on homepage