added .gitignore
moved arrayToString to app.js
refactored listItems() to use portal.js functions
removed unnecessary functions