An address book function I wrote in javascript through Codeacademy