fixed to work with multiple instances
updated to latest statemachine code, added new example
updated to 1.0.1 JS FSM commit