hasClass no longer takes more than one class to look for. ref #7