Add basic build for Scala.js.

I did this in "blind" mode. I cannot test it locally due to #64.
Sure, I'll do that in my next iteration.