* remove unnecessary arg passage from WI helper funcs
* remove some typescript red from script.js
* hide in shame
* Add JSDoc to helper functions
* Fix fav_ch_checked not updating
* Move PWA mode match to firstLoadInit
* Fix more type errors and deprecations
* Fix the rest of type errors in script.js
---------
Co-authored-by: RossAscends <124905043+RossAscends@users.noreply.github.com>