created the dragdrop.js file