javascript contact list with a simple search function