Update factor-analysis.js