change js selector to a class instead of id