updating javascript, adding carousel