update checkbox component javascript to change styles based on clicking 'update results' button