updated to scala.js 0.4.0