You could nave something like var done_this? = 0; and then when the player reaches a certain goal add 1 to this. When the counter reaches say 5 (or how many tasks there are you've finished!