resourceloader: Move style deprecation warnings to <body>