Use jQuery to handle clicks on tasks.