Move style block to the head element.