What ended up happening? That sounds like one of the worst scenarios from a career standpoint.
It helped that I was the only person on staff who really knew Javascript and Coffeescript well and that I was also well-versed in writing and editing. Had I lacked any of these, had another staff member been better at them, or had the project been further along I'm sure I would've been canned. The president didn't find out until weeks later, thank god.