This helped solve the problem. After applying the suggested solution, the spinner disappeared and the JS 404 error no longer occurs. Copying the `sparkline` and `sparklines` folders to the correct directory fixed the issue.
Thank you for the detailed explanation.