Remove compiled JS sources, fix typos in tests