Move script tags to the top.