a jQuery State Machine (FSM / HSM) to design and manage web user interfaces, simulators, games...