JS: replace more users of instance() to avoid creating a GUIFrame
JS: replace more users of instance() to avoid creating a GUIFrame

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

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