fixed drag and drop
javascript changes