Move script tags to head