added ajax ready for routing for drag and drop