JS: switch the order of equals() calls when comparing to a String
JS: switch the order of equals() calls when comparing to a String

This helps the IDE find better matches for equals() callers as it can prove the
String version is called here, and will filter the results out of other searches.

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

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