safari extension passing messages between global.html and the current page on the browser