Add debugs to bintreeAV.js