js and css for selecting tags