carousel and some javascripts