fixed add grocery list item function on the /groceryList.html page