JavaScript test repair ("repair")

The contract of `vote` changed with the introduction of
instarendering, and the failure-message class changed with the
inspiration about color; deleting failing tests is bad, but perhaps
less bad than letting red tests hang around in the codebase for
decades of ever.