Updated statemachine with the latest one which fixes undefined Backbone.