Remove console.logs
Make visualizeRevTree standalone plugin