Removing style tags / moving script tags to head