Update analyze.js