Tidy up and fix functional test
Remove the original JS files

(bye, `node.js`!)