currently uses JSJValue.toJS, longs are translated as scala-js long objects instead of some native version of the number.