Bug 851996, Simplify MessageEvent's jsval handling, r=mccr8

--HG--
extra : rebase_source : d9c6b59555d6672c03068e9c5bae65712007515a