playing with scala-js