Revert "#479: minimum viable solution, i.e. it solved the bug - stylesets are displayed and the error is no longer observed in the console - but the font weight plugin does *not* work."

This reverts commit 70a1cef13b4224b7fcf9491561ce5e3cbcfb3d75.