JavaScript backend for Scala