Express expected failures entirely in JavaScript

I'm awful at Make anyway.