Create term_frequencies_from_terms.js