fix carousel demo js script.