Added defaults property to jsPlumb