Move script at the end of the head.