JS: reduce the scope of unchecked warnings suppression
JS: reduce the scope of unchecked warnings suppression

Pull the initialization of the vaoMaps array into a constructor for submeshes to
reduce the scope of the warning suppression.

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

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