Modified test repo so using requirejs, finished carousel functionality