Changed boClickIndex function to clickIndex. I feel dumb.