use analyze.js

old stuff