carousel as a JS module
document.ready calls in main.js, not in plugins.js