JS: Move stateListener list construction to lateInit()
JS: Move stateListener list construction to lateInit()

DowntimeEntity builds its list of watched entities in earlyInit().

Signed-off-by: Geoffrey Savinkoff <68a1749264702001368349bd5dce5335e81284ad@ausenco.com>
Signed-off-by: Stephen Wong <6f34db11dd2258ec4ffa799eb0d7827f906cb1c6@ausenco.com>

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