another js filter for schema