Move head output before frontend styles