Put the shared and scalajs directories into place.