JS: perform the autoload step before calling setJaamSimModel
JS: perform the autoload step before calling setJaamSimModel

This ensures that the Simulation object is created before anything else is
done.

Signed-off-by: Harry King <409587b9e6671aa0763646191d292852dc49a658@gmail.com>

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