Fix `run` and `test` sbt tasks.

They were broken by the separation of packageJS in three
different files.