fixed the failure of auto generating js binding.