Adding a bridge for contact list to javascript