drag and drop js change