Complete tally js assignment