fixing issue where you couldn't have multiple instances on the page with same class name