Comment someone else's code and give advice for refactoring

Job ID: 35160657

Budget: $10 – $30 USD

This is a narrowed version of this project:

https://www.freelancer.com/projects/javascript/Library-port-Chrome-Apps-web/proposals

Rather than writing the full shim library OR fixing the app, just do the following:

In each JS file in the /src/ directory some Chrome API functions are called. The task is to describe, as comments, what these Chrome methods are doing and what a javascript replacement would have to do to replace the functionality. You do NOT need to provide the code.

https://github.com/abalter/codepad-webapp/tree/main/src

I probably understand enough javascript to implement the changes over time, but I don't have time or interest to learn the chrome api which is something I will never use.
Related categories: JavaScript Chrome OS HTML Google Chrome