removed extra javascript on index page