changing options.addOnClass to options.addOnSelector to better reflect how it is used