moves script tags to body