Changes to cope with the refactorings of js-sbt.