Adding the javascript needed to drag and drop buttons.