when not supplying a src this allows a success callback