Restore JS fast path in JOIN
Define SUBSTRING and SUBLIST for when the argument type is known
Define EXCLUDE; minor fixes, tests