Updated machine.js

Now allows for saving and loading of state.