Use main.coffee as the main file
Update matched event
Update match-failed event
Don't use the wrong var
Update partial matchings