Because the browse activity just launches the app normally, I think you might not need the message handler. I think it might be enough just to edit manifest.webapp as you have done.