update to scala.js 0.4.0