JavaScript interpreter written in Scala