js for onclick dragdrop experiement