Create state-machine-5.js