added analysis.js