Can you move this code into detailsToggle.js? If you need to rename detailsToggle.js becase the name doesn't make sense anymore, that's fine.