js binding fix