Added new javascript on homepage