merged and refactored additem form
finalized refactoring of HTML and JS