modified additem.html, started code for main.js.