Use require() to make jssm state machine factories
A code highlighter giving the same output as VSCode