finished up javascript and css for front-end bg_check index