THRIFT-2669 fix js list<map> support

patch of THRIFT-2669