Move hlib init functions to the end of body to speed up page parsing