jQuery function that adds a function for generating a Contact Card