Fix #1006: Publish a JVM library with Scala.js annotations

OK, fair enough.