Scala-js support