I am working with Blazor and .NET Core 5.x and I am trying to get some JavaScript to work, but the dependency injection statement is not working. Here is what I have: