Adding contact class to <li> tags.