[#29803] Encourage proper use of JHtml APIs dealing with scripts and stylesheets