Make output of javascript_heads HTML-safe

--HG--
extra : source : 45e48b3af5496ea042e3596051e21725d8803b5c