functional OOP JS for draggable grocery list including a grocery list object and item object