update to scala.js 0.5.1