add new fields to JS model