Added javascript-state-machine in dependencies