Use the improved JSVal interfaces.

Requires https://github.com/mozilla-servo/rust-mozjs/pull/54.