Updated with scalejs.browser update

Supported changes from browser 2