Simple carousel plugin written with pure JavaScript