Add basic build for Scala.js.

I did this in "blind" mode. I cannot test it locally due to #64.
Why is this needed? Why standard `test` command is not enough?