- fix minor nits: update jsdoc + format + copyrights + style +  quotes + comments, remove unused vars
- refactored & simplified some code around removing custom viewers per suggestion by @RaymonLim