Fix array.filter not support in ie bug, replace with $.grep