fix js error in EntryType.js