updating javascript page with checklist