Factor CreateFocusMachine into fsm.js for now