Use Scala primitive types instead of JS types in JS interop

Ready for the next one? :p