//remove duplicate item
/*$.each(newFilterSet, function(index, newValue){
var ret = new Array();
var json = {};
$.each(newValue.subtypes, function(index1,subtype){
if (!json[subtype]) {
ret.push(subtype);
json[subtype] = 1;
}
});
newValue = ret;
});
*/
/*$.each(newFilterSet, function(index, newValue){
var ret = new Array();
var json = {};
$.each(newValue.subtypes, function(index1,subtype){
if (!json[subtype]) {
ret.push(subtype);
json[subtype] = 1;
}
});
newValue = ret;
});
*/