Fix forwarding of Mojo events.

Fixes useless assignment to a new local variable that's never used; creates Mojo global variable if it does not exist.

Restores firing of menubutton event when WebOS app menu is opened.