Allow labels to be jQuery objects as well as plain strings, for increased flexibility