Use React for rendering head and remove jade usage