Rename addPageClassToLi to addClassToListItem