Update NS2Dart comment.
Remove some dead code.
Avoid using questionable API of Number in compiler tests.