Fix use of deprecated jquery function
Restore position of command divs on refresh
use jsPlumb for dragging