JS: rename 'isWorking' to 'isWorkingState' for StateEntity
JS: rename 'isWorking' to 'isWorkingState' for StateEntity

To avoid confusion between the state 'Working' and the states that are
labelled as 'WorkingState'.

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

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