Remove dependency on CoffeeScript

Currently running the tests depends on CoffeeScript, which is not installed by default on some systems (notable Debian).

This PR removes the dependency.

@vmx, please can you check this works for you.