add filter javascript: link to tochref func