wrapped itemBody in itemCounter, removed del global

switched .itemCounter li tag to wrap .itemBody div tags and thus could
refactor delete function to remove delete global variable
removed main.js

removed deprecated file main.js