js control flow homework