writing JS to toggle 'active' class on book categories