fix JS (remove NL); format null test in sci-notation