JavaScript: String.prototype.filter