Update js/addressbook.js

added keyup functionality