Rue Gilt Groupe Interview Question

Write a simple javascript image carousel without any library code.