refactor: put components into variables

this closes https://github.com/webSPELL/webSPELL-4.2.3/issues/56

<!---
@huboard:{"order":82.25,"milestone_order":98,"custom_state":""}
-->