Stately.js: allow statename string in setMachineState()