JS: use the root locale for string.toLowerCase
JS: use the root locale for string.toLowerCase

Avoid surprises with some locales, in this case I vs i in the Turkish
locale is processed differently.

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

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