move addressbook.js into main.js and remove jquery dependency