debug js binding