tweak fsm input handling in simulator webapp