Early stages of a javascript report builder