Updates for the new global scope mechanism.

- JSDynamic.window -> JSDynamic.global
- parseInt and parseFloat accessed through scala.js._