Add basic build for Scala.js.

I did this in "blind" mode. I cannot test it locally due to #64.
Oh, I see :)
Could you drop a line or two of a comment that summaries above into the config? It will help the next guy to understand why scala.js is special.