fix refresh of subtasks in jsgui