hid titles on index page with js