enable script for IE8

[].filter() is not available in IE8