Switch to JavaScript for main lib, stick to CoffeeScript for tests