added documentation on analysis2.js