added JS field name to type data