Build the task list in Javascript, and start a task when clicked.