Add wrapper for Array.prototype.filter

Change-Id: Ie7d8dd4193a81bedbb75258494bd78e8236bd0e8