JS: fixup thread-safety issue when initializing the tesselator object
JS: fixup thread-safety issue when initializing the tesselator object

You can't protect a reference with itself for writing.

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

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