check/uncheck javascript added for index page