template for analysis2.js