added TypeConverter.js