adding hg-click instead of jquery