got JS event working on homepage