A reference for finite state machine logic and functionality. Includes object-oriented state-design with transition logic. Implemented using Javascript.