drag and drop js complete