If you think you are dying too much you can just change locust swarm to leeching dogs or the other one that absorbs damage and replace pierce the veil passive with jungle fever or bad medicine.
Hopefully this works out for you!
EDIT
I forgot to add that you need to change trinity -> variables -> open trinity variables configuration and modify Spell.DelayWitchdoctor_SoulHarvest and SpellDelay.Witchdoctor_SpiritWalk to 1000 so the bot uses them when they come out of cooldown, because of your talent