move script tags into body tag