[Bug 16115] jscript: field with has wrong type