fix jsbindings
fix SpiderMonkey warning