The branch always has to be taken if executing JavaScript, because otherwise how would you tell if the value was correct or not? You'd have to calculate it using this method regardless and then compare!
Or did you mean by "taken" that the branch instruction has to be executed regardless of whether the branch is taken or not?