JS: prevent generating potentially huge strings for certain input types
JS: prevent generating potentially huge strings for certain input types

Stream out the logged input rather than buffering an entire line, which could be
very long for inputs similar to TimeSeries.  Also, if more than 1000 tokens are
received, do not store a value String for the input.

Signed-off-by: Harvey Harrison <eadbd6b462bf3c97df0300a934c12bc2e5d1fe51@ausenco.com>

jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim