adds javascript tooltip and css changes