use attributes for html_output dependencies; add class and html = TRUE attribute for compatiblity with shiny