Merge pull request #435 from sjrd/scala-prims-in-js-interop

Use Scala primitive types instead of JS types in JS interop
Fix #425: Exact semantics of Int (arithm modulo 2^32).