Added removeAllEndpoints for jsPlumb