Async JS filter, needs to be tested.