Clean up JavaScript before sbt.