Naively copy classes from the original option tag to the new li tag. Using jQuery, if there are no classes on the original element, the new li will simply have an empty string as its class.