fixed js binding