Address Book project in javascript