Drag and Drop Implementation

90% completed with drag and drop implementation using jquery ui sortable
function. I still need to do the following:
1.  Make sure to prevent duplicates in a list when I drag and drop
multiple items to any list..
2. After an item(s) has been moved to the target list, remove the
".selected" class from each of the li items.