Add the javascript functionality with drag and
drop.