refactor: put components into variables

this closes https://github.com/webSPELL/webSPELL-4.2.3/issues/56