Fix issues 123 and 124 + clean-up scalaJSEnvironment settings.

All of this basically reduces the amount of changes "imposed" by `scalaJSSettings` to zero, so that it does not disturb complicated sbt setups where Scala.js and non-Scala.js things are both present.