t8: Fixed javascript and content types
Merge branch 't8_add_a_html_widget'
t8: modified javascript