Creating an object defined within Scala, bump to latest ScalaJS