generating dashbaord javascript