Create text-analysis.js