Fix #11: update to Scala.js 0.5 notations.