allow filters to be constructed with JavascriptConfiguredAnnotator