JS: add debug code to output binding address