Incorporating html tags in shiny

What you listed as working is simple static HTML.
Providing javascript and integration of the javascript with a wider shiny app is generally nontrivial, and the prefered/expected approach would be to create a htmlwidget.
Seems like someone has done that for chartjs and you may be able to leverage their effort.

http://tutuchan.github.io/chartjs/