Javascript display of contacts