Added finishing touches to carousel js