is the problem js calling convention?