spotlib_js: fails on 4.01 due to warnings-as-errors

part of triage run #1304