This machine determines if a specified substring exists within a string. The initial machine is the first machine I wrote in CoffeeScript, so there should be plenty of room for improvement.
Also interesting, I think there is an opportunity for some meaningful use of CoffeeScript classes.
First we'll add a shim for alert.
alert = (value) -> console.log value