Moved script section to the bottom of the page
Added replacement of divs when dropping