Assign id tags to links in additem page and initial js setup

added id tags to target clickable links inside the additem page as well
as created a simple function to get items from the additem page that
are passed to it in main.js.