facet recode fix app js