Couple of JS spec tweaks.
Remove unexpected argument to Transport#flush.