Make javalib depend on library.

Instead of adding the library sources to javalib as a hack.
Added the Compile . Scala.js sources... info.