convert howto 4 in non-ideal manner (specific layout for javascript in head)